package com.bootdo.storageRack.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.storageRack.dao.StorageRackLossRecordDao;
import com.bootdo.storageRack.domain.StorageRackLossRecordDO;
import com.bootdo.storageRack.service.StorageRackLossRecordService;
import org.springframework.transaction.annotation.Transactional;



@Service
@Transactional
public class StorageRackLossRecordServiceImpl implements StorageRackLossRecordService {
	@Autowired
	private StorageRackLossRecordDao storageRackLossRecordDao;
	
	@Override
	public StorageRackLossRecordDO get(Long id){
		return storageRackLossRecordDao.get(id);
	}
	
	@Override
	public List<StorageRackLossRecordDO> list(Map<String, Object> map){
		return storageRackLossRecordDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return storageRackLossRecordDao.count(map);
	}
	
	@Override
	public int save(StorageRackLossRecordDO storageRackLossRecord){
		return storageRackLossRecordDao.save(storageRackLossRecord);
	}
	
	@Override
	public int update(StorageRackLossRecordDO storageRackLossRecord){
		return storageRackLossRecordDao.update(storageRackLossRecord);
	}
	
	@Override
	public int remove(Long id){
		return storageRackLossRecordDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return storageRackLossRecordDao.batchRemove(ids);
	}
	
}
